package com.pcbly.web.persistence.news;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/
import com.pcbly.web.bean.news.NewsConfigBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface NewsConfigDao extends BaseDao<NewsConfigBean> {  
	
	void removeNewsConfigBeanByIds(String ids) throws Exception;
	
	void removeNewsConfigBeanById(String id) throws Exception;
	
	NewsConfigBean saveNewsConfigBean(NewsConfigBean news) throws Exception;
	
	Page<NewsConfigBean>  findNewsConfigBeanByCond(NewsConfigBean bean,
			Page<NewsConfigBean> page, String orderByName, boolean asc)
			throws Exception;
}